package guoanmaker.operator.business.model;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import javax.persistence.Transient;

import guoanmaker.operator.helper.common.abstractobj.IdEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@Data
@Entity
@Table(name="t_operator_news_type")
public class OperatorNewsType extends IdEntity{
	private String newsTypeName;
	private Date createDate;
	private int status;//0是未使用    大于0的是使用中
	@ManyToOne
	private OperatorUser operatorUser;
	@Transient
	private String statusName;

}
